//
//  CNSearchModel.m
//  BeeQuick_19
//
//  Created by whong7 on 16/9/23.
//  Copyright © 2016年 CN Team. All rights reserved.
//

#import "CNSearchModel.h"

@implementation CNSearchModel

-(NSString *)description
{
    return self.yy_modelDescription;
}

-(void)setMarket_price:(NSString *)market_price
{
    _market_price = [NSString stringWithFormat:@"¥%@",market_price];
}

-(NSString *)price
{
    return [NSString stringWithFormat:@"¥%.2lf",_partner_price];
}

//返回一个 Dict，将 Model 属性名对映射到 JSON 的 Key。
+ (NSDictionary *)modelCustomPropertyMapper {
    return @{@"goods_id" : @"id"};
}
@end
